package com.panda.takeaway.entity.dto;

import com.panda.takeaway.entity.vo.PageInfoVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author John
 * @create 2021-08-24-0:23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageBean<T> {


    private PageInfoVo pageInfoVo; //记录页数与大小
    private Long totalCount;  //总记录数
    private Long totalPage;  //总页数
    private List<T> list;        //每页查询到的数据的集合


}
